home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_d
/
qrep10b.zip
/
QRLABELS.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-10
|
1KB
|
48 lines
unit QRLABELS;
{
QuickReport Mailing Labels template
- Connect the TTable to a database table
- Connect the QRDBText components to the datafields
- Set number of columns with the QuickReport.Columns property (default=3)
- Adjust the initial vertical positioning with the height of the page
header band
- Adjust the vertical spacing with the height of the Detail band
- Adjust the initial horizontal positioning with the QuickReport.LeftMargin
property
- Adjust the horizontal spacing with the QuickReport.ColumnMarginMM or
ColumnMarginInches properties
}
interface
uses
Wintypes,winprocs, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Quickrep, StdCtrls, ExtCtrls, DB, DBTables;
type
TQRLabelsTemplate = class(TForm)
QuickReport: TQuickReport;
PageHeader: TQRBand;
Detail: TQRBand;
QRLabel1: TQRLabel;
NameField: TQRDBText;
AddressField1: TQRDBText;
AddressField2: TQRDBText;
AddressField3: TQRDBText;
Table1: TTable;
DataSource1: TDataSource;
private
{ Private declarations }
public
{ Public declarations }
end;
var
QRLabelsTemplate: TQRLabelsTemplate;
implementation
{$R *.DFM}
end.